#!/usr/bin/node

const argv = process.argv[2];
//validate argv3
const log=console.log;

//code range>0
if (Number(argv[2]<0)){
  log(`argv must >0`);
  process.exit(1)
}
//code is numbe
if(isNaN(Number(argv[2]))){
  log(`argv must be number`);
  process.exut(2);
}
//argv number equal 3
if(argv.length!==3){
  log(`cmd exit-code`);
  process.exit(3);
}

process.exit(argv);



